package com.lwl.blog.service;

import com.lwl.blog.core.service.IBaseService;
import com.lwl.blog.entity.UserEntity;

import java.sql.SQLException;

/**
 * 帖子用户业务层接口
 */
public interface UserService extends IBaseService<UserEntity> {
    //用户登录的方法
    UserEntity login(String username, String password) throws SQLException;
    //用户注册
    String register(UserEntity u) throws SQLException;
    //查询激活码
    UserEntity selectActCode(String code) throws SQLException;
}
